<template>
  <div class="left">
    <header>
      <img src="@/assets/images/logo.svg" alt="" />
      <p>后台管理系统</p>
    </header>
    <section>
      <ul class="list">
        <li>
          <el-icon class="icon">
            <HomeFilled />
          </el-icon>
          <router-link class="abc" to="/home/index">首页</router-link>
        </li>
        <li>
          <el-icon class="icon">
            <HomeFilled />
          </el-icon>
          <router-link class="abc" to="/home/peopleMsg">用户管理</router-link>
        </li>
        <li>
          <el-icon class="icon">
            <HomeFilled />
          </el-icon>
          <router-link class="abc" to="/home/shouye">红娘管理</router-link>
        </li>
        <li>
          <el-icon class="icon">
            <HomeFilled />
          </el-icon>
          <router-link class="abc" to="/home/active">活动管理</router-link>
        </li>
        <li>
          <el-icon class="icon">
            <HomeFilled />
          </el-icon>
          <router-link class="abc" to="/home/moreClass"
            >学堂分类管理</router-link
          >
        </li>
        <li>
          <el-icon class="icon">
            <HomeFilled />
          </el-icon>
          <router-link class="abc" to="/home/classes">学堂管理</router-link>
        </li>
        <li>
          <el-icon class="icon">
            <HomeFilled />
          </el-icon>
          <router-link class="abc" to="/home/video">视频管理</router-link>
        </li>
      </ul>
    </section>
  </div>
</template>

<script setup>
</script>
<style scoped lang="less">
.left {
  width: 100%;
  height: 100%;
  background: #191a20;
  color: #bdbdc0;

  header {
    width: 100%;
    height: 55px;
    border-bottom: 0.5px solid #282a35;
    display: flex;
    justify-content: space-evenly;
    font-weight: bold;
    align-items: center;

    img {
      width: 28px;
    }
  }

  section {
    width: 100%;

    .list {
      width: 100%;
      list-style: none;
      padding: 0;

      li {
        width: 100%;
        box-sizing: border-box;
        text-indent: 2em;
        padding: 25px 0 25px 15px;
        display: flex;
        justify-content: start;
        align-items: center;

        .icon {
          width: 25px;
          height: 100%;
        }

        &:hover {
          background: #14151a;
          cursor: pointer;
        }

        .abc {
          text-decoration: none;
          color: #bdbdc0;
        }
      }
    }
  }
}
</style>
